package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 意见反馈对象 sys_opinion
 * 
 * @author jjp
 * @date 2020-04-15
 */
public class SysOpinion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long opinionId;

    /** 当information_type为1时该值为user_id,当information_type为2时该值为mobile_user_id */
    private Long userId;

    /** 图片地址 */
    private String despriction;

    /** 信息类型 1-用户端app 2-工人端app */
    private String informationType;

    private String userName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setOpinionId(Long opinionId)
    {
        this.opinionId = opinionId;
    }

    public Long getOpinionId() 
    {
        return opinionId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDespriction(String despriction) 
    {
        this.despriction = despriction;
    }

    public String getDespriction() 
    {
        return despriction;
    }
    public void setInformationType(String informationType) 
    {
        this.informationType = informationType;
    }

    public String getInformationType() 
    {
        return informationType;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
